function [indice1,indice2] = CutData(x,y)
    
    figure
    h = plot(x,y);
    waitforbuttonpress
    p1 = get(gca,'CurrentPoint');
    p1 = p1(1,1:2);
    title( sprintf('(%g,%g)',p1) )   
    waitforbuttonpress
    p2 = get(gca,'CurrentPoint');
    p2 = p2(1,1:2);
    title( sprintf('(%g,%g)',p2) ) 
    
    close
    indice1 = round(p1(1));                                    %réduction de la plage d'étude pour ne pas avoir de 0
    indice2 = round(p2(1));

end